{%load sidebar%}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>{% block title %} {{ blog.title|escape}}{% endblock %}</title>
<link rel="stylesheet" href="/themes/{{blog.theme_name}}/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="/themes/{{blog.theme_name}}/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="/themes/{{blog.theme_name}}/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<!--[if IE 6]>
	<script src="/themes/{{blog.theme_name}}/js/pngfix.js"></script>
<![endif]--> 
<link rel="stylesheet" href="/themes/{{blog.theme_name}}/style.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="{{blog.name}} RSS Feed" href="/feed" />
<link rel="alternate" type="application/atom+xml" title="{{blog.name}} Atom Feed" href="/feed" />
<link rel="pingback" href="{%url xmlrpc %}" />
<link href="/static/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/static/js/prettify.js"></script>
{% block head_block %}{% endblock %}
</head>
<body onload="prettyPrint()">
	<div id="wrapper">
		<div id="container" class="container">  
			<div class="span-17">
                <div id="header">
					<h1><a href="/" title="{{ blog.title}}">{{ blog.title}}</a></h1>
					<h2>{{ blog.subtitle|escape}}</h2>	
				</div>
                
                <div class="navcontainer">
					<ul id="nav">
						<li class="home {%if ishome%}current_page_item{%else%}page_item{%endif%}">
							<a href="/" title="Home">Home</a>
						</li>
						{% get_menus %}
					</ul>
				</div>
				<div id="content">
				{% block content %}{% endblock %}
				</div>
			</div>	
			{% include "themes/moderstyle/sidebar.html" %}
		</div>
		<!--/container-->
			<div id="footer">
				Copyright &copy; <strong>{{blog.title}}</strong> -  {{ blog.subtitle|escape}} <br />
                Powered by <a href="http://iyouf.info/">Youflog</a> | Modern Style theme by <a href="http://flexithemes.com/">FlexiThemes</a>
                | Transplant by <a href="http://iyouf.info">Dengmin</a>
			</div><!--/footer-->
            
	</div><!--/wrapper-->
</body>
</html>